package logic;

public class User{
	private String nick;
	private String pass;
	private int victorias;
	private int derrotas;
	private int empates;
	
	public User(){
		nick="";
		pass="";
		victorias=0;
		derrotas=0;
		empates=0;
	}
	
	public User(String nick){
		this.nick=nick;
		pass="";
		victorias=0;
		derrotas=0;
		empates=0;
	}
	
	public User(String nick,String pass,int victorias,int derrotas,int empates){
		this.nick=nick;
		this.pass=pass;
		this.victorias=victorias;
		this.derrotas=derrotas;
		this.empates=empates;
	}
	
	public User(String nick, String pass){
		this.nick=nick;
		this.pass=pass;
		victorias=0;
		derrotas=0;
		empates=0;
	}
	
	//GETTERS & SETTERS
	public String getNick(){
		return nick;
	}
	public void setNick(String nick){
		this.nick = nick;
	}
	public String getPass(){
		return pass;
	}
	public void setPass(String pass){
		this.pass = pass;
	}
	public int getVictorias(){
		return victorias;
	}
	public int getDerrotas(){
		return derrotas;
	}
	public int getEmpates(){
		return empates;
	}
	public void setVictorias(int victorias){
		this.victorias = victorias;
	}
	public void setDerrotas(int derrotas){
		this.derrotas = derrotas;
	}
	public void setEmpates(int empates){
		this.empates = empates;
	}
}
